package com.quwan.manager.controller.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.quwan.entity.TMemberDynamicFile;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

/**
 * @author laozhang
 * @date 2021/11/1 17:55
 */
@Data
@Accessors(chain = true)
public class MemberDynamicDTO {
    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("会员id")
    private Long mId;

    @ApiModelProperty("会员名称")
    private String name;

    @ApiModelProperty("内容/标题")
    private String title;

    @ApiModelProperty("主题")
    private String topic;

    @ApiModelProperty("时间")
    private Date addTime;

    @Transient
    @TableField(exist = false)
    private List<TMemberDynamicFile> item;

}
